package cn.wolfcode.mapper;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.domain.Notice2;
import cn.wolfcode.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Notice2Mapper {
    int deleteByPrimaryKey(Long id);

    int insert(Notice2 record);

    Notice2 selectByPrimaryKey(Long id);

    List<Notice2> selectAll();

    int updateByPrimaryKey(Notice2 record);

    List<Notice2> selectForList(QueryObject qo);

    void insertRelationShip(@Param("id") Long id, @Param("employees") List<Employee> employees);
}